package com.atguigu.gulimall.product.dto;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

@Data
public class AttrEntityDto extends AttrEntity {
    /**
     * 所属分类名字
     */
    @TableField(exist = false)
    private String catelogName;
    /**
     * 所属分组名字
     */
    @TableField(exist = false)
    private String groupName;

    /**
     * 分组id
     */
    @TableField(exist = false)
    private Long attrGroupId;
    /**
     * 分组路径
     */
    @TableField(exist = false)
    private List<Long> catelogPath;
}
